﻿<Window x:Class="WebServer.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Http Web Server" Height="350" Width="525">
    <Grid>
        <TabControl Width="517" HorizontalAlignment="Left">
            <TabItem Header="Podstawowe">
                <Grid Background="White">
                    <Label Content="Adres IP:" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top"/>
                    <TextBox HorizontalAlignment="Left" Height="23" Margin="10,41,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="56" Name="ip1"/>
                    <TextBox HorizontalAlignment="Left" Height="23" Margin="71,41,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="56" Name="ip2"/>
                    <TextBox HorizontalAlignment="Left" Height="23" Margin="132,41,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="56" Name="ip3"/>
                    <Label Content="Port:" HorizontalAlignment="Left" Margin="281,10,0,0" VerticalAlignment="Top"/>
                    <TextBox HorizontalAlignment="Left" Height="23" Margin="281,41,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="79" Name="port" RenderTransformOrigin="0.949,0.565"/>
                    <Label Content="Katalog root serwera:" HorizontalAlignment="Left" Margin="10,84,0,0" VerticalAlignment="Top"/>
                    <TextBox HorizontalAlignment="Left" Height="23" Margin="10,115,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="350" Name="rootdirectory" IsReadOnly="True"/>
                    <Button Content="Wybierz" HorizontalAlignment="Left" Margin="376,115,0,0" VerticalAlignment="Top" Width="75" Height="23" Click="Button_Click_1"/>
                    <Button Name="start" Content="Start" HorizontalAlignment="Left" Margin="10,164,0,0" VerticalAlignment="Top" Width="75" Height="23" Click="Button_Click_2"/>
                    <Button Name="test" Content="Test" HorizontalAlignment="Left" Margin="99,164,0,0" VerticalAlignment="Top" Width="75" Height="23" Click="test_Click"/>
                    <Button Name="stop" Content="Stop" HorizontalAlignment="Left" Margin="184,164,0,0" VerticalAlignment="Top" Width="75" Height="23" Click="stop_Click"/>
                    <TextBox HorizontalAlignment="Left" Height="23" Margin="193,41,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="56" Name="ip4"/>

                </Grid>
            </TabItem>
            <TabItem Header="Zaawansowane">
                <Grid Background="White">
                    <Button Content="Dane odbierane" HorizontalAlignment="Left" Height="23" Margin="10,10,0,0" VerticalAlignment="Top" Width="118" Click="Button_Click_3"/>

                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</Window>
